/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @oncall memory_lab
 * @format
 */

/* @nolint */

/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* You can override the default Infima variables here. */
:root {
  --ifm-code-font-size: 95%;
  --doc-sidebar-width: 330px !important;
  --ifm-color-content: #172531;
  --ifm-color-primary: #32accd;
  --ifm-color-primary-dark: #2d9bb9;
  --ifm-color-primary-darker: #2a92ae;
  --ifm-color-primary-darkest: #237890;
  --ifm-color-primary-light: #47b4d2;
  --ifm-color-primary-lighter: #51b8d4;
  --ifm-color-primary-lightest: #70c5dc;
  --ifm-container-width: 1140px;
  --ifm-table-cell-padding: 0.35rem;
  --ifm-paragraph-margin: 0rem;
  --ifm-font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Cantarell,  "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif
}

:root .prism-code {
  --ifm-code-font-size: 85%;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
  --ifm-color-primary: #32accd;
  --ifm-color-primary-dark: #2d9bb9;
  --ifm-color-primary-darker: #2a92ae;
  --ifm-color-primary-darkest: #237890;
  --ifm-color-primary-light: #47b4d2;
  --ifm-color-primary-lighter: #51b8d4;
  --ifm-color-primary-lightest: #70c5dc;
}

.padding-top--md {
  padding-top: 32px !important;
}

article {
  margin-left: auto;
  margin-right: auto;
  max-width: 730px;
}

article h1 {
  font-size: 32px !important;
  font-weight: 600;
}

article h1 code {
  font-size: 30px !important;
}

article h2 {
  font-size: 24px !important;
  font-weight: 600;
  margin: 48px 0 16px;
  border-top: 1px solid rgba(60, 60, 60, .12);
  padding-top: 24px;
  letter-spacing: -.02em;
}

[data-theme='dark'] article h2 {
  border-top: 1px solid rgba(84, 84, 84, .48);
}

article h2 code {
  font-size: 22px !important;
}

article h3 {
  font-size: 20px !important;
  font-weight: 600;
}

article h3 code {
  font-size: 18px !important;
}

article strong {
  font-weight: 600;
}

.navbar .navbar__items {
  flex: auto;
}

hr {
  background-color: rgba(60, 60, 60, .12);
}

[data-theme='dark'] hr {
  background-color: rgba(84, 84, 84, .48);
}

a code {
  color: var(--ifm-link-color);
}

code {
  border: none;
  color: var(--ifm-color-gray-800);
  font-family: monospace, 'Courier New', Courier;
  font-weight: 600;
  border-radius: 4px;
  padding: 3px 6px;
}

[data-theme='dark'] code {
  color: var(--ifm-color-gray-200);
}

#header-animation-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: -1;
}

@media screen and (max-width: 996px) {
  #css-animated-bg-container {
    padding: 1rem 0rem;
  }
}

#title, #sub-title {
  color: #323330;
  font-family: circular, 'Segoe UI', sans-serif, Tahoma, Geneva, Verdana;
  text-shadow: 1px 1px 1px rgb(209, 183, 61);
}

#learn-more {
  color: #323330;
  backdrop-filter: blur(4px);
}

#header-container {
  display: flex;
  word-wrap: normal;
}

#left-header-section {
  flex: 2;
}


#left-header-section {
  margin-top: 8%;
  margin-left: auto;
  margin-right: auto;
}

#css-animated-bg-container {
  padding-top: 16px;
  padding-bottom: 0px;
  background: linear-gradient(#ffe53b, #dac540);
  border-bottom: 1px solid black;
}


@media screen and (max-width: 996px) {
  #css-animated-bg-container {
    background: linear-gradient(#ffe53b, #dac540);
    padding-bottom: 60px;
  }
}
